package com.jokey.vue.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author: JokeyZheng
 * @email: zhengjingfeng@ruqimobility.com
 * @created: 2021/11/25 20:36
 * @version: v1.0.0
 * <p>员工奖罚表</p>
 */
@Data
@TableName(value = "employee_ec", autoResultMap = true)
public class EmployeeEc implements Serializable {

    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 员工ID
     */
    private Integer eId;

    /**
     * 奖罚日期
     */
    private LocalDate ecDate;

    /**
     * 奖罚原因
     */
    private String ecReason;

    /**
     * 奖罚分数
     */
    private Integer ecPoint;

    /**
     * 奖罚类型，0：奖 1：罚
     */
    private Byte ecType;

    /**
     * 备注
     */
    private String remark;
}
